-- clear_titant_alert
-- created by dengc
-- 冰霜泰坦死亡后清除警戒效果

return {
    apply = function(prop, baseValue)
        return prop[3];
    end,

    -- 死亡触发
    trigger = function(who, prop, arg)
        -- 抛出更新警戒效果事件
        EventMgr.fire(event.UPDATE_ALERT, {["classId"] = who:getClassId()});

        return true;
    end,

    record = function(target, prop, path)
        return false;
    end
};